/*
Author : 
	aziza yasser: 15898607
	sayli hidir: 06061308
*/

#include "BaseEl.h"

BaseEl::BaseEl(NUM n, WERT w, Cell *p) : Cell(p), num(n), wert(w){ }

BaseEl::~BaseEl(){
	num = 0;
	wert = 0;
}

void BaseEl::SetNum(NUM n) {
	num = n;
}

NUM BaseEl::GetNum(void) {
	return num;
}

void BaseEl::SetWert(WERT w) {
	wert = w;
}

WERT BaseEl::GetWert(void) {
	return wert;
}

void BaseEl::display(void) {
	cout << "NUM :" << num << ", WERT : " << wert << " ----> ";
}

Cell * BaseEl::copy(){
	return new BaseEl(num, wert);
}

